package com.lucenly.spell.activity

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.lucenly.spell.base.BaseActivity
import com.lucenly.spell.databinding.ActivityRechargeBinding
import com.moregold.mvvmlib.ext.startActivity

class RechargeActivity : BaseActivity<ActivityRechargeBinding>() {
    override fun getViewBinding(): ActivityRechargeBinding {
        return ActivityRechargeBinding.inflate(layoutInflater,baseBinding.contentMain,true)
    }

    override fun setTitle(): String {
        return "充值"
    }

    override fun initData() {
        setRightText("充值记录")

    }

    override fun initEvent() {
        setRightTextClick {
            startActivity<RecordActivity>("type" to 0)
        }
    }

    override fun startObserve() {
    }

    override fun getStatusType(): Int {
        return 3
    }
}